package com.fp.m7.repository;

import org.bson.types.ObjectId;
import org.springframework.data.mongodb.repository.MongoRepository;

import com.fp.m7.model.Account;

public interface AccountRepository extends MongoRepository<Account, ObjectId> {

	Account findByUsername(String username);

	Account findByNickname(String nickname);

}
